#ifndef __MENU_H__
#define __MENU_H__

#include"device.h"

enum Menuoption{ ADD = '1',DELE = '2',UPDATA = '3',SHOW = '4',FIND = '5', EXIT = '0'};


//欢迎菜单函数
int welcome_menu(node_t *devlist);
//提示管理员输入密码与用户名
int login_menu(node_t *devlist);
//di管理员操作菜单
int admin_menu(node_t *devlist);			
//添加设备菜单
int add_dev_menu(node_t *devlist);
//删除设备菜单
int delete_dev_menu(node_t *devlist);
//更新设备菜单
int update_dev_menu(node_t *devlist);
//显示设备菜单
int show_dev_menu(node_t *devlist); 
//查找菜单
int find_dev_menu(node_t *devlist);

#endif 
